home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / cups / cupsd.conf < prev    next >
Encoding:
Text File  |  2007-04-04  |  2.9 KB  |  104 lines

  1. #
  2. #
  3. #   Sample configuration file for the Common UNIX Printing System (CUPS)
  4. #   scheduler.  See "man cupsd.conf" for a complete description of this
  5. #   file.
  6. #
  7.  
  8. # Log general information in error_log - change "info" to "debug" for
  9. # troubleshooting...
  10. LogLevel warning
  11.  
  12. # Administrator user group...
  13. SystemGroup lpadmin
  14.  
  15. # Only listen for connections from the local machine.
  16. Listen localhost:631
  17. Listen /var/run/cups/cups.sock
  18.  
  19. # Show shared printers on the local network.
  20. Browsing Off
  21. BrowseOrder allow,deny
  22. BrowseAllow @LOCAL
  23. BrowseAddress @LOCAL
  24.  
  25. # Default authentication type, when authentication is required...
  26. DefaultAuthType Basic
  27.  
  28. # Restrict access to the server...
  29. <Location />
  30.   Order allow,deny
  31.   Allow localhost
  32.   Allow @LOCAL
  33. </Location>
  34.  
  35. # Restrict access to the admin pages...
  36. <Location /admin>
  37.   Order allow,deny
  38.   Allow localhost
  39. </Location>
  40.  
  41. # Restrict access to configuration files...
  42. <Location /admin/conf>
  43.   AuthType Basic
  44.   Require user @SYSTEM
  45.   Order allow,deny
  46.   Allow localhost
  47. </Location>
  48.  
  49. # Set the default printer/job policies...
  50. <Policy default>
  51.   # Job-related operations must be done by the owner or an adminstrator...
  52.   <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
  53.     Require user @OWNER @SYSTEM
  54.     Order deny,allow
  55.   </Limit>
  56.  
  57.   # All administration operations require an adminstrator to authenticate...
  58.   <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
  59.     AuthType Basic
  60.     Require user @SYSTEM
  61.     Order deny,allow
  62.   </Limit>
  63.  
  64.   # Only the owner or an administrator can cancel or authenticate a job...
  65.   <Limit Cancel-Job CUPS-Authenticate-Job>
  66.     Require user @OWNER @SYSTEM
  67.     Order deny,allow
  68.   </Limit>
  69.  
  70.   <Limit All>
  71.     Order deny,allow
  72.   </Limit>
  73. </Policy>
  74.  
  75. #
  76. #
  77.  
  78. #
  79. # Printcap: the name of the printcap file.  Default is /etc/printcap.
  80. # Leave blank to disable printcap file generation.
  81. #
  82.  
  83. Printcap /var/run/cups/printcap
  84.  
  85. #
  86. # PrintcapFormat: the format of the printcap file, currently either
  87. # BSD or Solaris.  The default is "BSD".
  88. #
  89.  
  90. #PrintcapFormat BSD
  91. #PrintcapFormat Solaris
  92.  
  93. #
  94. # PrintcapGUI: the name of the GUI options panel program to associate
  95. # with print queues under IRIX.  The default is "/usr/bin/glpoptions"
  96. # from ESP Print Pro.
  97. #
  98. # This option is only used under IRIX; the options panel program
  99. # must accept the "-d printer" and "-o options" options and write
  100. # the selected printer options back to stdout on completion.
  101. #
  102.  
  103. #PrintcapGUI /usr/bin/glpoptions
  104.